<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>

    <div class="website">
        <div class="box">您的位置：
            <a href="/">首页</a><em>&gt;</em>
            <a href="/product.html">产品系列</a></a><em>&gt;</em>
            <a href="<?php echo "/product/" . $cur_category['id'] . ".html"; ?>"><?php echo $cur_category['category_name']; ?></a>
        </div>
    </div>

    <div class="product_show">
        <div class="pic_big">
            <div class="pic f_l"><img src="<?php echo $article['img']; ?>" style="width: 512px;height: 387px"></div>
            <div class="con f_r">
                <h1>
                    <?php echo $article['title']; ?>
                    <br>
                    <p><?php echo $article['keyword']; ?></p>
                    <span>&nbsp;</span>
                    <span>寄语：</span>
                </h1>
                <h2>
                    <?php echo $article['describe']; ?>
                </h2>
            </div>
        </div>
        <div class="show_contact">
            <div class="title">
                <a href="javascript:;" class="tags on" data-id="">效果图展示</a>
                <a href="javascript:;" class="tags" data-id="2">单元图展示</a>
            </div>
            <div class="show content" style="display: block;">
                <?php echo $article['content']; ?>
            </div>
            <div style="display: none;" class="show content2">
                <?php echo $article['content2'] ?? ""; ?>
            </div>
        </div>
    </div>
    <script>
        $(function () {
            $(".tags").click(function () {
                $(".tags").removeClass("on");
                $(this).addClass("on");
                $(".show").hide();
                var pid = $(this).attr("data-id");
                $(".content" + pid).show();
            });
        })
    </script>
<?php $this->load->view('common/footer'); ?>